package com.heima.api;

import com.heima.model.article.dtos.ApArticleDto;
import com.heima.model.behavior.pojos.BeBehavior;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("leadnews-behavior")
public interface BehaviorClient {
    @PostMapping("/behavior")
    BeBehavior findById(@RequestBody Long articleId, Integer userId);
}
